package com.dmjj.cad.service;


import com.dmjj.cad.dto.CategoryDTO;
import com.dmjj.cad.dto.GraphDTO;
import com.dmjj.cad.vo.GraphSearchVO;
import com.dmjj.cadcommon.base.BaseService;

import java.util.List;
import java.util.Map;

/**
 * 元素管理表业务处理接口
 * @Author zhangxue
 * @Date 2019-04-19 10:39:23
 */
public interface GraphService extends BaseService<GraphDTO, Long> {


    /**
     * @Author zhangxue
     * @Description //TODO 获取所有与当前floorplanid相同类别的floorplan
     * @Date 10:12 2019/4/23
     * @Param
     * @return
     **/
    List<Map<String, Object>> queryAllSameCategoryFloorplan(Long floorplanid);

    
    /**
     * @Author zhangxue
     * @Description //TODO 通过平面图id数组查询所有元素信息
     * @Date 10:51 2019/4/23
     * @Param 
     * @return 
     **/
    List<Map<String, Object>> queryAllGraphByFloorplan(Map<String,Object> floorPlanIdArr);

    List<Map<String,Object>> queryAllFixCategory(GraphSearchVO graphSearchVO);

    List<Map<String, Object>> queryAllFixGraph(Map<String, Object> categoryMap);

    Integer deleteGraphSon(Long id);
}
